﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using TCKQKL.FrontEnd.DataModel;
using TCKQKL.Service.LookupClient;

namespace TCKQKL.FrontEnd.Web.Controls
{
    public partial class PersonalHoldings : System.Web.UI.UserControl
    {
        public PersonalHoldingUI personal = new PersonalHoldingUI();
        public bool assign = false;
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                LSClient client = new LSClient();
                personal = client.getPersonalHolding(client.getAccountData(HttpContext.Current.User.Identity.Name).investorId);
                client.Close();
            }
            catch
            {
                throw;
            }
        }
    }
}